// 车险出险率类


interface args {

    [propname:string] : string | number
    
}

export default class carDanger implements carDanger{

    mark                    = 1
    plateNo                 = ''
    engineNo                = ''
    vin                     = ''
    jqChuXianCiShu          = 0
    jqChuXianGaiShu         = ''
    jqPolicySerialNumber    = ''
    jqSupplier              = ''
    newJqStartDate          = ''
    syChuXianCiShu          = 0
    syChuXianGaiShu         = ''
    syPolicySerialNumber    = ''
    sySupplier              = ''
    newSyStartDate          = ''
    pureRiskPremiums        = 0
    vehicleTax              = 0
    sourceFlag              = ''

    public constructor (args?:args){

        Object.keys(args).forEach(key =>{

            if(this.hasOwnProperty){

                this[key] = args[key]
                
            }
            
        })

        
    }
    
}
